package io.litchi.auth.Infrastructure.common.query.user;

import io.litchi.common.anno.mysql.QuerySql;
import io.litchi.common.anno.mysql.canstant.QueryMode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户分页查询参数
 *
 * @author helang
 * @since 2025-11-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserListQuery {

    @QuerySql(value = "username",queryMode = QueryMode.LIKE)
    private String username;

    @QuerySql(value = "mobile",queryMode = QueryMode.EQ)
    private String mobile;

    @QuerySql(value = "nickname",queryMode = QueryMode.LIKE_LEFT)
    private String nickname;

    @QuerySql(value = "status",queryMode = QueryMode.EQ)
    private Integer status;
}